Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin build flag #735

Merged
merged 7 commits into from
Jul 18, 2023
Merged

Add plugin build flag #735

merged 7 commits into from
Jul 18, 2023

Conversation

nezuo
Copy link
Contributor

@nezuo nezuo commented Jul 14, 2023

Resolves #715.

It will not output to the correct place if the user configures the location of their plugin folder. That functionality would have to be added to roblox_install. I haven't looked into whether it's possible or not yet.

Here is what the output looks like:
image
image
image

I wasn't able to get the error cases to say "rojo build" in the usage section.

@nezuo
Copy link
Contributor Author

nezuo commented Jul 14, 2023

It looks like you can find the user's plugin directory from the GlobalSettings_13.xml file in their roblox install. roblox_install would have to parse this and I'm not sure it's worth it. Does anyone change this setting?

@Dekkonot
Copy link
Member

We don't currently account for this with the plugin command and as far as I know nobody has ran into trouble. It might be worth opening an issue on roblox_install but I don't think we need to worry about it for this PR.

src/cli/build.rs Outdated Show resolved Hide resolved
@Dekkonot
Copy link
Member

Also we have a benchmark in benches/build.rs that needs to have the plugin field added.

src/cli/build.rs Outdated Show resolved Hide resolved
@Dekkonot
Copy link
Member

Minor nitpick with the punctuation and then looks good to me

Co-authored-by: Micah <[email protected]>
Copy link
Member

@Dekkonot Dekkonot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you!

@Dekkonot Dekkonot merged commit dc17a18 into rojo-rbx:master Jul 18, 2023
@nezuo nezuo deleted the plugin-build-flag branch July 18, 2023 02:27
Dekkonot pushed a commit to UpliftGames/rojo that referenced this pull request Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --plugin flag to build command that outputs to the local plugins folder
2 participants